package com.study.mike.common.enums;


/**
 * @author kh
 */
public enum BizCodeEnum {
    FIND_NO_ONE("2001", "操作数不存在！"),
    USER_NOT_QUERY("2002", "用户查询为空！"),
    BOOK_NO_EXIT("2003", "数据编号已经存在！"),
    RESOURCE_EXIT("2004","资源已存在！"),
    ROLE_EXIT("2005","角色已存在！");
    private String code;
    private String msg;

    BizCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
